home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll - a pixel that can be converted into different color models
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- iflPixel
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilConvPixel.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class abstracts the concept of a pixel of image data with a
- particular color model. It contains the color model, data type, the
- number of channels, and a list of component values. Methods are provided
- to covert this pixel to different color models.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrrssss
-
- ilConvPixel(iflDataType type, iflColorModel cm, double min,
- double max, iflColormap* map=NULL, void* data=NULL)
- ilConvPixel(const iflPixel &pix, iflColorModel cm, double min,
- double max, iflColormap* map=NULL)
- ilConvPixel(const ilConvPixel &pix, iflColorModel cm, double min,
- double max, iflColormap* map=NULL)
-
- CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn mmmmeeeetttthhhhooooddddssss
-
- void doConversion(iflDataType type, iflColorModel cm, double min,
- double max, const iflColormap* map=NULL,
- const ilConvPixel* src=NULL)
- void operator=(const ilConvPixel &p)
- void setColorModel(iflColorModel cm)
- void setMinMax(double min, double max)
- void setType(iflDataType type)
- void setColormap(const iflColormap* map)
-
- AAAAcccccccceeeessssssss mmmmeeeetttthhhhooooddddssss
-
- iflColorModel getColorModel()
- void getMinMax(double& min, double& max)
- const iflColormap* getColormap()
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll(((())))
-
- ilConvPixel(iflDataType type, iflColorModel cm, double min,
- double max, iflColormap* map=NULL, void* data=NULL)
- ilConvPixel(const iflPixel &pix, iflColorModel cm, double min,
- double max, iflColormap* map=NULL)
- ilConvPixel(const ilConvPixel &pix, iflColorModel cm, double min,
- double max, iflColormap* map=NULL)
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333))))
-
-
-
- The first constructor creates a pixel of data type, _t_y_p_e, color
- model _c_m, scaling range from _m_i_n to _m_a_x, color map _m_a_p (for
- iflRGBPalette), and with the component values pointed to by _d_a_t_a.
- The data values are copied into the ilConvPixel constructed. The
- second constructor copies the data from the iflPixel specified by
- _p_i_x. The third constructor converts the data from another
- ilConvPixel (which may be in a different color model).
-
- ddddooooCCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn(((())))
-
- void doConversion(iflDataType type, iflColorModel cm, double min,
- double max, const iflColormap* map=NULL,
- const ilConvPixel* src=NULL)
-
-
- This method converts the data in the source pixel, _s_r_c, to the
- requested attributes specified by _t_y_p_e, _c_m, _m_i_n, _m_a_x and _m_a_p. The
- result is stored in this pixel.
-
- ggggeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(((())))
-
- iflColorModel getColorModel()
-
-
- Returns the color model of this pixel.
-
- ggggeeeettttCCCCoooolllloooorrrrmmmmaaaapppp(((())))
-
- const iflColormap* getColormap()
-
-
- Returns a pointer to the color map for this pixel (or NULL if there
- isn't one).
-
- ggggeeeettttMMMMiiiinnnnMMMMaaaaxxxx(((())))
-
- void getMinMax(double& min, double& max)
-
-
- Returns the scaling min/max of this pixel in _m_i_n and _m_a_x.
-
- ooooppppeeeerrrraaaattttoooorrrr====(((())))
-
- void operator=(const ilConvPixel &pix)
-
-
- Copies and converts the source pixel _p_i_x, into the color model and
- type of this pixel.
-
- sssseeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(((())))
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333))))
-
-
-
- void setColorModel(iflColorModel cm)
-
-
- Converts this pixel to the color model specified by _c_m.
-
- sssseeeettttCCCCoooolllloooorrrrmmmmaaaapppp(((())))
-
- void setColormap(const iflColormap* map)
-
-
- Sets the color map for this pixel to _m_a_p, the color map is not
- copied.
-
- sssseeeettttMMMMiiiinnnnMMMMaaaaxxxx(((())))
-
- void setMinMax(double min, double max)
-
-
- Converts this pixel to the scaling range specified by _m_i_n and _m_a_x.
-
- sssseeeettttTTTTyyyyppppeeee(((())))
-
- void setType(iflDataType type)
-
-
- Converts this pixel to the data type specified by _t_y_p_e.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiiffffllllPPPPiiiixxxxeeeellll
- convert(), getData(), getDataType(), getElem(), getNumChans(), max(),
- min(), operator!=(), operator=(), operator==(), operator[](), set(),
- setElem()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-